package team.hyznrj.studentsys.service;

import team.hyznrj.studentsys.entity.SkillMark;

import java.util.List;

/**
 * @author ReMidDream
 * @date 2018-04-11 13:10
 **/
public interface SkillMarkService {

    List<SkillMark> findAllSkillMark();

    List<SkillMark> findSkillMarkByYearOrTerm(Integer year,Integer term);

    boolean insertOrUpdateSkillMark(SkillMark skillMark);

    /**
     * 删除项目,如已被使用则无法删除
     * @param ids
     * @return
     */
    boolean delectSkillMark(List<String> ids);

    /**
     * 强制删除,会同时删除关联属性
     * @param ids
     * @return
     */
    boolean forcedDelectSkillMark(List<String> ids);
}
